<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>个人信息页</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="table-responsive">
    <table  class="table table-striped table-sm" >
        <thead>
        <tr>
            <th>学号</th>
            <th>姓名</th>
            <th>专业</th>
            <th>学院</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="stu:${student}">
            <td th:text="${stu.getId()}"></td>
            <td th:text="${stu.getName()}"></td>
            <td th:text="${stu.getProfession()}"></td>
            <td th:text="${stu.getAcademy()}"></td>
            <td>
                <a class="btn btn-sm btn-primary" th:href="@{/upStu/}+${stu.getId()}">编辑</a>

            </td>
        </tr>

        </tbody>
    </table>
</div>



<div>
    <form class="form-signin" method="post" th:action="@{/hello/cou} ">
        <button class="btn btn-default" type="submit">进入选课页面</button>
    </form>

    <form class="form-signin" method="post" th:action="@{/hello/welcome} ">
        <button class="btn btn-default" type="submit">返回</button>
    </form>

</div>
</body>
</html>